package com.quanyan.club.entity.vo.resp;

import com.quanyan.BaseResponse;

import javax.validation.constraints.Size;

/**
 * Created by zhang on 16/5/30.
 */
public class RespClubAnnouncement extends BaseResponse {

    private int id;

    @Size(min = 4,max = 40, message= "字数限制在4-40字之间" )
    private String title;

    @Size(min = 15,max = 1000, message = "正文限制在15-1000个字之间")
    private String content;

    private int publishUid;

    private String publishName;

    private int clubId;

    //公告是否已读：0为未读，1为已读
    private int isRead;

    private long publishDate;

    private String roleCode;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public int getPublishUid() {
        return publishUid;
    }

    public void setPublishUid(int publishUid) {
        this.publishUid = publishUid;
    }

    public String getPublishName() {
        return publishName;
    }

    public void setPublishName(String publishName) {
        this.publishName = publishName;
    }

    public int getClubId() {
        return clubId;
    }

    public void setClubId(int clubId) {
        this.clubId = clubId;
    }

    public int getIsRead() {
        return isRead;
    }

    public void setIsRead(int isRead) {
        this.isRead = isRead;
    }

    public long getPublishDate() {
        return publishDate;
    }

    public void setPublishDate(long publishDate) {
        this.publishDate = publishDate;
    }

    public String getRoleCode() {
        return roleCode;
    }

    public void setRoleCode(String roleCode) {
        this.roleCode = roleCode;
    }
}
